package com.itheima.enumdemo;

public class Demo01 {

    public static void main(String[] args) {
        Season.SPRING.sing();
        Season.AUTUMN.show();
        Season bianliang = Season.WINTER;
        switch (bianliang) {
            case SPRING:
                System.out.println("春困");
                break;
            case SUMMER:
                System.out.println("夏打盹");
                break;
            case AUTUMN:
                System.out.println("秋乏");
                break;
            case WINTER:
                System.out.println("冬眠");
                break;
        }


    }
}
